//
//  MyLayerDelegate.m
//  test02
//
//  Created by lzh on 2020/10/19.
//  Copyright © 2020 NO. All rights reserved.
//

#import "MyLayerDelegate.h"
#import <UIKit/UIKit.h>
@implementation MyLayerDelegate

- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
{
  
  CGContextAddEllipseInRect(ctx, CGRectMake(100,100,100,100));
   CGContextSetFillColorWithColor(ctx, [UIColor blueColor].CGColor);
   CGContextFillPath(ctx);
}
@end
